#pragma once

#include "GraphicalEntity.h"

class Skybox : public BaseIndexedGraphicalEntity
{
private:
	IDirect3DTexture9 *SkyboxTexture;

public:
	Skybox();
	Skybox(IDirect3DDevice9 *nDevice);
	~Skybox();

	HRESULT LoadTextureFromFile(std::string filename);
	IDirect3DTexture9* GetTexture( void );

	void Update(float dt);
	void Render( void );

	bool CreateCube(D3DXVECTOR3 HalfVector);

};